#ifndef __ALGSM1_PR_H__
#define __ALGSM1_PR_H__

	#define SM1_ENCRYPT 1
	#define SM1_DECRYPT 2 

	#define SM1_CBC 1
	#define SM1_ECB 2
	#define SM1_CFB 3
	#define SM1_OFB 4

	extern UINT8 ALGSm1_PR_Run(UINT8 nType,UINT8 nMode,UINT8* pIn,UINT8* pOut,UINT16 nDataLen,UINT8* pKey,UINT8* pIV);

#endif
